export const gainData = (type, name) => {
	if (type == 'list') {
		return configList[name]
	// } else if(type == 'birthday'){
	// 	birthday
	} else {
		let obj = {}
		configList[name].filter(item => {
			if (type == item.value) {
				obj = item
			}
		})
		return obj
	}
}
export const configList = {
	educationList: [{
			value: '1',
			label: '初中'
		},
		{
			value: '2',
			label: '高中'
		},
		{
			value: '3',
			label: '中技/中专'
		},
		{
			value: '4',
			label: '大专'
		},
		{
			value: '5',
			label: '本科'
		},
		{
			value: '6',
			label: '硕士'
		},
		{
			value: '7',
			label: '博士'
		}
	],
	workExperience: [
		{
			value: '0',
			label: '经验不限'
		},
		{
			value: '1',
			label: '一年以内'
		},
		{
			value: '2',
			label: '1～3年'
		},
		{
			value: '3',
			label: '3～5年'
		},
		{
			value: '4',
			label: '5～10年'
		},
		{
			value: '5',
			label: '10年以上'
		}
	],
	jobType: [{
			value: '1',
			label: '社会招聘'
		},
		{
			value: '2',
			label: '校园招聘'
		}
	],
	authStatus: [{
			value: '0',
			label: '未认证'
		},
		{
			value: '1',
			label: '已认证'
		},
		{
			value: '2',
			label: '审核中'
		},
		{
			value: '3',
			label: '认证失败'
		}
	],
	auditStatus: [{
			value: '0',
			label: '待审核'
		},
		{
			value: '1',
			label: '已同意'
		},
		{
			value: '2',
			label: '已拒绝'
		}
	],
	gender: [{
			value: '0',
			label: '女'
		},
		{
			value: '1',
			label: '男'
		}
	],
	age: [
		{
			value: '16-19',
			label: '16-19岁'
		},
		{
			value: '20-24',
			label: '20-24岁'
		},
		{
			value: '25-29',
			label: '25-29岁'
		},
		{
			value: '30-34',
			label: '30-34岁'
		},
		{
			value: '35-44',
			label: '35-44岁'
		},
		{
			value: '45-60',
			label: '45岁以上'
		}
	],
	jobStatus: [
		{
			value: '0',
			label: '待审核'
		},
		{
			value: '1',
			label: '开放中'
		},
		{
			value: '2',
			label: '已关闭'
		},
		{
			value: '3',
			label: '未通过'
		}
	],
	salary: [
		{
			value: '1-3000',
			label: '3K以下'
		},
		{
			value: '3000-5000',
			label: '3K-5K'
		},
		{
			value: '5000-10000',
			label: '5K-10K'
		},
		{
			value: '10000-20000',
			label: '10K-20K'
		},
		{
			value: '20000-50000',
			label: '20K-50K'
		},
		{
			value: '50000-300000',
			label: '50K以上'
		}
	]
}